"""
@author: peng
@email: sb.peng@hzgosun.com
@file: misiCheck.py
@time: 2019/5/27 10:28

"""
from common.poium.poium import Page
from common.vue.button import VueButton
from common.vue.element import VueElements
from common.vue.float_window import FloatWindow
from common.vue.label import ElementType as ET, ElementBaseLabel
from common.vue.region import VueRegion
from common.vue.search import VueSearch
from common.vue.table import VueTable, VueTurnPage
from common.vue.tree import VueTree

class SearchTools(VueSearch):
    """查询IMSI"""
    imsi_input = ElementBaseLabel(ET.INPUT, label="IMSI")  # 关键字后面的输入框

    imsi_region = ElementBaseLabel(ET.REGION, label="区域")  # 区域后面的区域请选择框

    imsi_region_selector = VueRegion(index=0)  # region_dropdown_list选择区域时，点击region_input出现的


    community_dropdown_list = ElementBaseLabel(ET.DROPDOWN_LIST, label="小区")   # 小区请选择框

    start_time = ElementBaseLabel(ET.DATE_PICKER, "时间")
    end_time = ElementBaseLabel(ET.DATE_PICKER, "时间", date_picker_index=1)
    search_btn = VueButton("检索")  # 查询按钮


    def __init__(self):
        super(SearchTools, self).__init__()

class misiPage(Page):                      #misipage，改变
    """人口管理页面"""
    searchTools = SearchTools()   # 查询区域
    table = VueTable()   # 列表
    turnPage = VueTurnPage()   # 翻页
